
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
//-->
</script>


<div class="pageContent">
	
	<form method="post" action="__URL__/insert/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>用户名：</label>
				<input type="text" class="required alphanumeric" size="28" maxlength="20" name="account">
			</div>
            <div class="unit">
                <label>昵称：</label>
                <input type="text" class="required" size="28" name="nickname">
            </div>
			<div class="unit">
				<label>密码：</label>
				<input id="__MODULE__password" type="password" name="password" size="28" maxlength="20" class="required alphanumeric">
			</div>
			<div class="unit">
				<label>确认密码：</label>
				<input type="password" name="password" size="28" maxlength="20" class="required alphanumeric" equalto="#__MODULE__password">
			<div class="unit">
				<label>Email：</label>
				<input type="text" name="email" size="28" maxlength="100" class="email">
			</div>
			<div class="unit">
				<label>QQ：</label>
				<input type="text" name="qq" size="28" maxlength="100">
			</div>
			<div class="unit">
				<label>电话：</label>
				<input type="text" name="phone" size="30" maxlength="100" class="phone">
			</div>
            <div class="unit">
                <label>部门：</label>
                <select name="department" class="required">
                    <option value=""></option>
                <volist name='Think.config.departments' id="department">
                    <option value="{$key}" <?php echo $key == $vo['department'] ? 'selected' : '' ?>>{$department}</option>
                </volist>
                </select>
            </div>
			<div class="unit">
				<label>状态：</label>
				<select name="status">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</select>
			</div>
			
			<div class="unit">
				<label>备注：</label>
				<textarea name="info" rows="3" cols="57"></textarea>
			</div>
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">Submit</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">Cancel</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>



